<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml"
      layout:decorate="~{front/common/manage}" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <title>系统消息-列表</title>
  <link rel="stylesheet" href="/static/front/css/sys-info.css">
  <link rel="stylesheet" href="/static/front/css/pagination.css">
</head>

<body>
<div layout:fragment="content">
  <div class="con10-r">
    <div class="info-lists">
      <ul>
      </ul>
    </div>
    <div class="m-style pages"></div>
    <div class="nothing" style="display: none;">
      <span>暂无数据</span>
    </div>
  </div>

</div>

<th:block layout:fragment="script">
  <script type="text/javascript" src="/static/front/js/lib/jquery.pagination.js"></script>
  <script type="text/javascript" src="/static/front/js/config.js"></script>
  <script type="text/html" id="message_list">
    {{#  layui.each(d.content, function(index, item){ }}
    {{# if(index==d.content.length-1){ }}
    <li class="last">
    {{# }else{ }}
    <li>
    {{# } }}
      <div class="head">
        <h2>{{item.title}}</h2>
        <span>{{item.createTime}}</span>
      </div>
      <div class="body">
        <div class="txt">
          <p>{{item.content}}<a href="/copyright/manage/detail?id={{item.worksId}}" target="_blank">查看作品</a></p>
        </div>
        <div class="elastic">
          <a class="open" href="javascript:;" style="display: inline;">展开</a>
          <a class="close" href="javascript:;" style="display: none;">收起</a>
        </div>
      </div>
    </li>
    {{#  }); }}
  </script>
  <script type="text/javascript">
    layui.use('message')
  </script>
</th:block>

</body>
</html>

